define(function(require, exports, module) {

  var Backbone = require('backbone');
  var $ = require('jquery');
  var _ = require('underscore');
  var jsonview = require('jsonview');
  var tmpl = require('text!../tmpl.html');
  var render = require('jsx!js/util/render').default

  var Jsx = require('jsx!./jsx').default

  function main() {
    var $app = $('<div id="app">');
    $('#main').html($app);

    render(Jsx, $app[0]);

    $app.append(tmpl);
  }

  return main;
})
